﻿create procedure [dbo].[shared_database_get]
	@database_id int,
	@shared_user_id int
as
begin
	select 
		[database_id],
		[shared_user_id]
	from [dbo].[shared_database]
	where [database_id] = @database_id and [shared_user_id] = @shared_user_id
end